package fr.generali.accueilclient.gwt.client.ui.components.image;

import com.google.gwt.core.client.GWT;
import com.google.gwt.resources.client.ClientBundle;
import com.google.gwt.resources.client.CssResource;
import com.google.gwt.user.client.ui.Image;

public class ClickableImage extends Image {

    public interface Resources extends ClientBundle {

        Resources INSTANCE = GWT.create(Resources.class);

        @Source({ "components/image/clickableImage.css" })
        Style style();

        interface Style extends CssResource {
            String imageDefaultStyle();
        }
    }

    static {
        Resources.INSTANCE.style().ensureInjected();
    }

    public ClickableImage() {
        this.addStyleName(Resources.INSTANCE.style().imageDefaultStyle());
    }
}
